<%--
  Created by IntelliJ IDEA.
  User: kukudechao
  Date: 2018/8/13
  Time: 19:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/huizong.css"/>
</head>
<body>

<div id="middle">

    <div id="stuInfo">

        <table class="dataintable">
            <tr>
                <td>想去宿舍楼号</td>
                <td>想去宿舍号</td>
                <td>审批状态</td>
            </tr>

         <c:forEach var="appro" items="${sessionScope.stuAppro}">
             <tr>
             <td>${appro.go_build}</td>
             <td>${appro.go_dor}</td>
                 <c:if test="${appro.status==0}">

                     <td>审核中</td>

                 </c:if>
                 <c:if test="${appro.status==1}">

                     <td>通过</td>

                 </c:if>
                 <c:if test="${appro.status==2}">

                     <td>被驳回</td>

                 </c:if>
             </tr>
         </c:forEach>

        </table>
    </div>
</div>
</body>
</html>
